﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace UIT.ScrumTool.DTO
{
    [DataContract]
    public class DocumentDto
    {
        private int id;
        [DataMember]
        public int Id
        {
            get { return id; }
            set { id = value; }
        }

        private int projectId;
        [DataMember]
        public int ProjectId
        {
            get { return projectId; }
            set { projectId = value; }
        }

        private byte[] fileContent;
        [DataMember]
        public byte[] FileContent
        {
            get { return fileContent; }
            set { fileContent = value; }
        }

        private byte[] fileThumbNail;
        [DataMember]
        public byte[] FileThumbNail
        {
            get { return fileThumbNail; }
            set { fileThumbNail = value; }
        }

        private int taskId;
        [DataMember]
        public int TaskId
        {
            get { return taskId; }
            set { taskId = value; }
        }

        private string url;
        [DataMember]
        public string Url
        {
            get { return url; }
            set { url = value; }
        }

        private string fileName;
        [DataMember]
        public string FileName
        {
            get { return fileName; }
            set { fileName = value; }
        }


    }
}
